<?php 
$form = $this->beginWidget('bootstrap.widgets.BootActiveForm', array(
	'id'=>'input-form',
	'enableAjaxValidation'=>false,
    'htmlOptions'=>array('class'=>'well'),
)); ?>

<fieldset>
	<?php echo $form->errorSummary($model); ?>
    <?php echo $form->textFieldRow($model, 'name'); ?>
	<?php echo $form->dropDownListRow($model, 'type', $model->typeOptions); ?>
    <?php echo $form->textFieldRow($model, 'url'); ?>
    <?php echo $form->textFieldRow($model, 'folder'); ?>
    <?php echo $form->textFieldRow($model, 'user'); ?>
    <?php echo $form->textFieldRow($model, 'password'); ?>
    <?php echo $form->checkBoxRow($model, 'shared'); ?>
</fieldset>

<div class="form-actions">
    <?php $this->widget('bootstrap.widgets.BootButton', array('buttonType'=>'submit', 'type'=>'primary', 'icon'=>'ok white', 'label'=>Yii::t('view', 'Submit'))); ?>
    <?php 
    $this->widget('bootstrap.widgets.BootButton', array(
		    'label' => Yii::t('view', 'Reset'),
			'icon' => 'icon-remove',
      		'url' => array('create'),
		));
	?> 
	<?php 
    $this->widget('bootstrap.widgets.BootButton', array(
		    'label' => Yii::t('view', 'Cancel'),
			'icon' => 'icon-remove',
      		'url' => array('index'),
		));
	?>
</div>

<?php $this->endWidget(); ?>